package com.training.content.domain;

import com.training.common.annotation.Excel;
import com.training.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 试卷题目答案选项对象 exam_subject_options
 * 
 * @author training
 * @date 2021-10-25
 */
public class ExamSubjectOptions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long optionsId;

    /** 选项名称 */
    @Excel(name = "选项名称")
    private String optionsName;

    /** 所属题目Id */
    @Excel(name = "所属题目Id")
    private Long subjectId;

    public void setOptionsId(Long optionsId) 
    {
        this.optionsId = optionsId;
    }

    public Long getOptionsId() 
    {
        return optionsId;
    }
    public void setOptionsName(String optionsName) 
    {
        this.optionsName = optionsName;
    }

    public String getOptionsName() 
    {
        return optionsName;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("optionsId", getOptionsId())
            .append("optionsName", getOptionsName())
            .append("subjectId", getSubjectId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
